package root.service.impl;

import java.sql.Connection;
import java.sql.DriverManager;
import java.util.List;

import root.dao.LybDataDao;
import root.dao.impl.LybDataDaoimpl;
import root.entity.vo.PageInfo;
import root.service.LybDataService;

public class LybDataServiceimpl implements LybDataService{
	@Override
	public void flushData(String name, String value, String type, String target, PageInfo page) {
		LybDataDao dao = new LybDataDaoimpl();
		dao.flushData(name, value, type, target, page);
	}

	@Override
	public boolean sendData(String name, String value, String type, String target, String ip) {
		LybDataDao dao = new LybDataDaoimpl();
		boolean boo = dao.sendData(name, value, type, target, ip);
		return boo;
	}

	
}
